package com.edu.service;

import com.edu.bean.User;

import java.util.Map;

public interface UserService {
    Map<String,Object> login(User user);

    /***
     *
     * @param user
     * @return
     * -1 账号存在
     * 1成功
     * 0失败
     */
    int register(User user);
}
